﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

namespace jQube.Web
{
    internal class HttpBrowserCapabilitiesWrapper : IHttpBrowserCapabilities
    {
        public HttpBrowserCapabilitiesWrapper(HttpBrowserCapabilities httpBrowserCapabilities)
        {
            this.HttpBrowserCapabilities = httpBrowserCapabilities;
        }

        public HttpBrowserCapabilities HttpBrowserCapabilities { get; private set; }

        #region Miembros de IHttpBrowserCapabilities

        string IHttpBrowserCapabilities.Browser
        {
            get { return this.HttpBrowserCapabilities.Browser; }
        }

        Version IHttpBrowserCapabilities.EcmaScriptVersion
        {
            get { return this.HttpBrowserCapabilities.EcmaScriptVersion; }
        }

        Version IHttpBrowserCapabilities.JScriptVersion
        {
            get { return this.HttpBrowserCapabilities.JScriptVersion; }
        }

        bool IHttpBrowserCapabilities.SupportsCallback
        {
            get { return this.HttpBrowserCapabilities.SupportsCallback; }
        }

        Version IHttpBrowserCapabilities.W3CDomVersion
        {
            get { return this.HttpBrowserCapabilities.W3CDomVersion; }
        }

        #endregion
    }
}
